//
//  MineCollectionViewCell.m
//  MyProject
//
//  Created by dllo on 15/10/31.
//  Copyright (c) 2015年 蓝鸥0825. All rights reserved.
//

#import "MineCollectionViewCell.h"

@implementation MineCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame{
    
    self = [super initWithFrame:frame];
    if (self) {
        
        self.image = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, self.contentView.frame.size.width, self.contentView.frame.size.height / 100 * 80)];
        [self.contentView addSubview:self.image];
        [self.image release];
        
        self.label = [[UILabel alloc] initWithFrame:CGRectMake( 0, self.contentView.frame.size.height / 100 * 80, self.contentView.frame.size.width, self.contentView.frame.size.height / 100 * 20)];
        [self.contentView addSubview:self.label];
        [self.label release];
        
        //        self.image.layer.borderWidth = 1;
        //        self.label.layer.borderWidth = 1;
        
    }
    return self;
    
}

@end